NDepend.API Documentation
OrderByHierarchy(IEnumerable<ICodeContainer>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > OrderByHierarchy Method : OrderByHierarchy(IEnumerable<ICodeContainer>) Method
This sequence of ICodeContainer objects.
Returns a sequence that contain these codeContainers ordered by hierarchy. For example an assembly of codeContainers is followed by its first child namespace in sequence, that is followed by its first child type in the sequence...
Syntax

Parameters

codeContainers
This sequence of ICodeContainer objects.
Remarks
An IAssembly object, is followed by its child INamespace objects.
A INamespace object, is followed by its child IType objects.
A IType object, is followed by its child IMethod objects.
A IType object, is also followed by its nested ITypeobjects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List